<?php

namespace App\Containers\AppSection\Authorization\Data\Seeders;

use App\Containers\AppSection\Authorization\Tasks\CreateRoleTask;
use App\Ship\Parents\Seeders\Seeder;

class AuthorizationRolesSeeder_2 extends Seeder
{
    public function run(): void
    {
        // Default Roles ----------------------------------------------------------------
        app(CreateRoleTask::class)->run('admin', 'inner', 'Администратор', 'Администратор', 999);
        app(CreateRoleTask::class)->run('moderator', 'inner', 'Модератор', 'Модератор', 100);

        app(CreateRoleTask::class)->run('investor', 'outer', 'Инвестор', 'Инвестор', 10);
        app(CreateRoleTask::class)->run('borrower', 'outer', 'Заемщик', 'Заемщик', 10);
    }
}
